<html><head><title>SetEntityMaterial</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">SetEntityMaterial()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>SetEntityMaterial</b></font>(#Entity, MaterialID)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>


Assign a material to the specified #Entity. An entity can only have one material assigned at once. 
<br>
<br>
'MaterialID' can be easily retrieved with the <a href="../material/materialid.html">MaterialID()</a> function. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=setentitycollisionfilter.html>SetEntityCollisionFilter()</a> - <a href="index.html">Entity Index</a><br><br>


</body></html>